import request from '@/utils/request'
import type { AllUserInforResponse } from '@/type/user-manag'

// 获取所有用户信息
export const getAllUserInforAPI = (page: number): Promise<AllUserInforResponse> => {
  return request.get('/apif/allUserInfor', {
    params: {
      page,
    },
  })
}
